<div class="hd-20170615">
  <div class="hd-banner-bg banner-bg1">
    <div class="hd-banenr">
      <div class="banner-text">
        Entrar
        <a href="#">Geekvida.es &gt;&gt;</a>
      </div>
    </div>
  </div>
  <div class="hd-container">
    <div class="hd-topNav">
      <div class="topNav-list">
        <a href="#display1" style="top:-35px;left:19px;">Xiaomi</a>
        <a href="#display2" style="top:20px;left:295px;">Hoverboard</a>
        <a href="#display3" style="top:-22px;left:564px;">Móviles reformados</a>
        <a href="#display4" style="top:-70px;right:13px;">Gedgets</a>
      </div>

      <div id="countdown-item1">
        <p class="countdown-title">Comienza en</p>
        <div class="dash days_dash" style="margin-left: 375px;">
          <div class="digit">0</div>
          <div class="digit">0</div>
          <div class="task_title">Días</div>
        </div>
        <div class="dash t_day">:</div>
        <div class="dash hours_dash">
          <div class="digit">0</div>
          <div class="digit">0</div>
          <div class="task_title">Horas</div>
        </div>
        <div class="dash t_day">:</div>
        <div class="dash minutes_dash">
          <div class="digit">0</div>
          <div class="digit">0</div>
          <div class="task_title">Minutos</div>
        </div>
        <div class="dash t_day">:</div>
        <div class="dash seconds_dash">
          <div class="digit">0</div>
          <div class="digit">0</div>
          <div class="task_title">segundos</div>
        </div>
        <div style="clear:both;"></div>
      </div>
    </div>
    <div class="hd-main-product">
      <a class="main-product-container" href="#">
        <span class="product-text">Hoverboard 6.5"Scooter
          <br>Eléctrico</span>
        <img src="./images/201706153.png" alt="buy now" style="bottom:-10px;right:-10px;position:absolute;">
      </a>
      <a class="main-product-container" href="#">
        <span class="product-text" style="left:205px;">Xiaomi Redmi 4x
          <br>2GB 16GB Dorado</span>
        <img src="./images/201706153.png" alt="buy now" style="bottom:55px;right:15px;position:absolute;">
      </a>
    </div>
    <div class="hd-main-content">
      <div class="hd-display-container">

        <div class="hd-display-block w1100" style="border:none;">
          <div class="panel-layout">
            <img src="./images/201706156.jpg">
            <ul>
              <li>
                <a class="hdPageLInk" href="#display1">XIAOMI</a>
              </li>
              <li>
                <a class="hdPageLInk" href="#display2">Hoverboard</a>
              </li>
              <li>
                <a class="hdPageLInk" href="#display3" style="font-size:12px;">Móviles reformados</a>
              </li>
              <li>
                <a class="hdPageLInk" href="#display4">gedgets</a>
              </li>
              <li style="height:50px;">
                <a class="hdPageLInk" href="#Top" style="margin-top:15px;">
                  <img src="./images/201706157.jpg">
                </a>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>

</div>
<style>
  .hd-20170615{background: #5b129b;min-width: 1300px;}
  .hd-20170615 .banner-bg1{background: url(./images/201706151.jpg) no-repeat center top;height: 822px;min-width: 1300px;}
  .hd-20170615 .hd-banenr{height: 732px;position: relative;width: 1103px;margin: 0px auto;}
  .hd-banenr .banner-text{position: absolute;right: 0px;font-size: 14px;width: 195px;text-align: center;background: #fff;padding: 5px;color: #000;border: 1px solid #dedede;}
  .hd-banenr .banner-text a{color: #33aa00;}
  .hd-20170615 .hd-container{background: url(./images/201706152.jpg) repeat-y center top;}
  .hd-20170615 .hd-topNav{background: url(./images/201706151.png) no-repeat center top;height: 480px;}
  .hd-topNav .topNav-list{height: 220px;position: relative;width: 1100px;margin: 0px auto;}
  .topNav-list a{position: absolute;font-size: 24px;color: #efef1c;width: 240px;height: 150px;line-height: 145px;text-align: center;}
  #countdown-item1{width: 1030px;height: 130px;margin: 0px auto 25px;background: url(./images/201706153.jpg)no-repeat center;text-align: center;border: 3px solid #fff;border-radius: 10px;box-shadow: 0px 0px 20px #fff;}
  #countdown-item1 .countdown-title{margin: 0px 0px 15px;font-size: 27px;color: #fff;font-weight: bold;padding-top: 15px;}
  #countdown-item1 .dash .digit{float: left;text-align: center;position: relative;display: block;background: #fff;padding: 3px 6px;color: #000;font-size: 25px;font-weight: bold;margin: 0px 2px;}
  #countdown-item1 .dash{float: left;position: relative;}
  #countdown-item1 .t_day{font-size: 20px;color: #000;font-weight: lighter;margin: 5px 3px 0px;}
  #countdown-item1 .task_title{font-size: 14px;margin-top: 38px;color: #fff;}
  .hd-main-product{background: url(./images/201706154.jpg)no-repeat center;height: 426px;width: 1009px;margin: -95px auto 0;border-radius: 35px;}
  .main-product-container{width: 420px;float: left;margin: 48px 0px 0px 60px;height: 330px;position: relative;overflow: hidden;display: block;}
  .hd-main-product .product-dash{background: url(./images/201611246.png) no-repeat center bottom;width: 231px;height: 280px;position: absolute;bottom: 5px;left: 12px;-webkit-transition: all 0.6s ease;-moz-transition: all 0.6s ease;-ms-transition: all 0.6s ease;-o-transition: all 0.6s ease;transition: all 0.6s ease;}
  .main-product-container:hover .product-dash{height: 0px;}
  .hd-main-product .product-text{width: 246px;position: absolute;top: 20px;left: 180px;font-size: 14px;font-weight: bold;text-align: left;color: #fff;}
  .main-product-container:hover .product-text{color: #fff100;}
  .review-wrapper{text-align: center;padding: 5px 0;height: 75px;overflow: hidden;position: relative;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;-ms-background-size: cover;background-size: cover;}
  .review-wrapper .product-info{font-size: 15px;line-height: 15px;height: 30px;overflow: hidden;display: block;color: #323232;margin-bottom: 10px;}
  .hd-main-content .lis1{margin: 0px;}
  .hd-main-content ul li.small-list{width: 192px;margin: 5px;position: relative;-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-o-transition: all 0.3s ease;transition: all 0.3s ease;background: #fff;float: left;}
  .hd-main-content ul li.small-list:hover{transform: translateY(-6px);-webkit-transform: translateY(-6px);-o-transform: translateY(-6px);-ms-transform: translateY(-6px);-moz-transform: translateY(-6px);}
  .hd-main-content ul li.small-list:before{pointer-events: none;position: absolute;z-index: -1;content: '';top: 100%;left: 5%;height: 10px;width: 90%;opacity: 0;background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 80%);background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 80%);-webkit-transition-duration: 0.3s;transition-duration: 0.3s;-webkit-transition-property: transform, opacity;transition-property: transform, opacity;}
  .hd-main-content ul li.small-list:hover:before{opacity: 1;-webkit-transform: translateY(5px);transform: translateY(5px);}
  .small-list .discount-number2{position: absolute;height: 50px;width: 50px;font-size: 16px;color: #fff;font-weight: bold;top: 0px;right: 0px;line-height: 50px;text-align: center;background: #9f43fc;border-radius: 50%;}
  .hd-main-content ul li.small-list img{width: 90%;padding: 10px;}
  .hd-main-content .old-price{font-size: 15px;text-decoration: line-through;color: #323232;margin-right: 5px;}
  .hd-main-content .current-price{font-size: 25px;font-weight: bold;color: #ac0039;}
  .hd-main-content .price{opacity: 1;-webkit-transition: all .3s linear 0s;-moz-transition: all .3s linear 0s;-o-transition: all .3s linear 0s;-ms-transition: all .3s linear 0s;transition: all .3s linear 0s;}
  .hd-main-content li.small-list:hover .review-wrapper .price{opacity: 0;}
  .hd-main-content ul li.small-list .hd-btn-buy{position: absolute;left: 23px;-webkit-transition: all .3s linear 0s;-moz-transition: all .3s linear 0s;-o-transition: all .3s linear 0s;-ms-transition: all .3s linear 0s;transition: all .3s linear 0s;bottom: -55px;padding: 8px 35px;background: #9f43fc;color: #fff;font-size: 14px;border-radius: 30px;}
  .hd-main-content ul li.small-list:hover .hd-btn-buy{bottom: 6px;}
  .hd-display-block{border: 3px solid #fff;border-radius: 20px;box-shadow: 0px 0px 40px #29025a;-webkit-box-shadow: 0px 0px 40px #29025a;margin-top: 40px;}
  .hd-display-block .display{box-shadow: 0px 0px 40px #be08e6 inset;-webkit-box-shadow: 0px 0px 40px #be08e6 inset;border-radius: 20px;padding: 50px 10px 10px;position: relative;}
  .hd-display-block .list-title{height: 60px;margin: 0px;width: 100%;background: url(./images/201706154.png)no-repeat top center;text-align: center;color: #fff;font-size: 35px;font-weight: bold;line-height: 56px;position: absolute;top: -21px;}
  .panel-layout{width: 164px;height: 255px;position: fixed;top: 0;margin-left: 1055px;-webkit-transform: scale(0.01);-moz-transform: scale(0.01);-o-transform: scale(0.01);-ms-transform: scale(0.01);transform: scale(0.01);-webkit-transition: all .6s linear 0s;-moz-transition: all .6s linear 0s;-o-transition: all .6s linear 0s;-ms-transition: all .6s linear 0s;transition: all .6s linear 0s;visibility: hidden;text-align: center;}
  .panel-layout.active{visibility: visible;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);-ms-transform: scale(1);transform: scale(1);}
  .panel-layout.active{visibility: visible;-webkit-transform: scale(1);-moz-transform: scale(1);-o-transform: scale(1);-ms-transform: scale(1);transform: scale(1);}
  .panel-layout ul{position: absolute;left: 0px;width: 100%;top: 87px;background: #c273ff;}
  .panel-layout ul li{list-style: none;height: 36px;line-height: 36px;}
  .panel-layout ul li a{display: block;width: 100%;color: #fff;text-align: center;font-size: 16px;text-transform: uppercase;}
  .panel-layout ul li a:hover{color: #fff100;}
  .panel-layout ul li.current{background: #ff0072;}
  .hd-display-container{padding-bottom: 20px;}
</style>
<script src="../js/jquery.lwtCountdown-min.js"></script>
<script type="text/javascript">
  (function ($) {
    $(function () {
      var str1 = '', str2 = '', str3 = '';
      for (var i = 0; i < 15; i++) {
        str1 += `<li class="small-list">
                        <a class="hd-link-img" href="#"><img src="./images/2016040616.jpg" alt="Blackview Ultra A6 Plus 2GB 16GB Dorado"></a>
                        <div class="review-wrapper">
                          <a href="#">
                            <span class="product-info" href="#">Blackview Ultra A6 Plus 2GB 16GB Dorado</span>
                            <span class="price old-price">129.95€</span>
                            <span class="price current-price">99.95€</span>
                            <span class="hd-btn-buy">Comprar &gt;&gt;</span>
                          </a>
                        </div>
                        <span class="discount-number2">-25€</span>
                      </li>`;
      }
      
      for(var i = 0; i < 4; i++){
        str2 += `<div class="hd-display-container" id="display${i+1}">
                  <div class="hd-display-block w1100">
                    <div class="display">
                      <h2 class="list-title">xiaomi</h2>
                      <div class="hd-product-list">
                        <ul class="lis1 clearfloat">${str1}</ul>
                      </div>
                    </div>
                  </div>
                </div>`;
      }

      $(".hd-main-content").prepend(str2);

      var sideNav = $(".panel-layout");
      $(window).on("scroll", function () {
        var sideNavShow = $(".hd-banner-bg").offset().top + $(".hd-banner-bg").outerHeight(true) - 200;
        var modTop = [];
        if ($(this).scrollTop() >= sideNavShow) {
          sideNav.addClass("active");
        }
        else {
          sideNav.removeClass("active");
        }

        for (var i = 0; i < $(".panel-layout ul li .hdPageLInk").length - 1; i++) {
          modTop[i] = $($(".panel-layout ul li a").eq(i).attr("href")).offset().top - 35;

          if ($(window).scrollTop() >= modTop[i]) {
            $(".panel-layout ul li").removeClass('current').eq(i).addClass('current');
          };
        };
      });


      $(".panel-layout .hdPageLInk,.topNav-list a").on("click", function (e) {
        e.preventDefault();
        var aHash = this.hash;
        $("html,body").animate({
          scrollTop: aHash == "#Top" ? 0 : $(aHash).offset().top - 30
        });
      });
    });

    $('#countdown-item1').countDown({
      targetOffset: {
        'day': 0,
        'month': 0,
        'year': 0,
        'hour': 0,
        'min': 0,
        'sec': 100
      },
      omitWeeks: true
    });
  })(jQuery); 
</script>